Apply stricter speculative load restriction
authorJohn Tsichritzis <[email protected]>
Mon, 4 Mar 2019 16:42:54 +0000 (16:42 +0000)
committerJohn Tsichritzis <[email protected]>
Tue, 12 Mar 2019 11:30:33 +0000 (11:30 +0000)
commit02b57943965c89887170604e8eb801e17fd8cb99
tree644859f20345a652ea148187dfd5a35fd48734c6
parentc48d02bade88b07fa7f43aa44e5217f68e5d047f
Apply stricter speculative load restriction

The SCTLR.DSSBS bit is zero by default thus disabling speculative loads.
However, we also explicitly set it to zero for BL2 and TSP images when
each image initialises its context. This is done to ensure that the
image environment is initialised in a safe state, regardless of the
reset value of the bit.

Change-Id: If25a8396641edb640f7f298b8d3309d5cba3cd79
Signed-off-by: John Tsichritzis <[email protected]>
bl2/aarch32/bl2_entrypoint.S
bl2/aarch64/bl2_entrypoint.S
bl2u/aarch32/bl2u_entrypoint.S
bl2u/aarch64/bl2u_entrypoint.S
bl32/tsp/aarch64/tsp_entrypoint.S